package com.mtr.databoard.application.middlewares.dto;

import com.mtr.databoard.domain.middlewares.MiddlewareResource;
import com.mtr.databoard.domain.middlewares.Parameter;

import java.util.Date;
import java.util.List;

public class CreateMiddlewareInput {
    private MiddlewareResource cover;
    private String name;
    private String description;
    private MiddlewareResource middleware;
    private String middlewareEntry;
    private long updateFrequency;
    private List<Parameter> parameters;
    private boolean isPush;

    public MiddlewareResource getCover() {
        return cover;
    }

    public void setCover(MiddlewareResource cover) {
        this.cover = cover;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public MiddlewareResource getMiddleware() {
        return middleware;
    }

    public void setMiddleware(MiddlewareResource middleware) {
        this.middleware = middleware;
    }

    public String getMiddlewareEntry() {
        return middlewareEntry;
    }

    public void setMiddlewareEntry(String middlewareEntry) {
        this.middlewareEntry = middlewareEntry;
    }


    public long getUpdateFrequency() {
        return updateFrequency;
    }

    public void setUpdateFrequency(long updateFrequency) {
        this.updateFrequency = updateFrequency;
    }

    public List<Parameter> getParameters() {
        return parameters;
    }

    public void setParameters(List<Parameter> parameters) {
        this.parameters = parameters;
    }

    public boolean getIsPush() {
        return isPush;
    }

    public void getIsPush(boolean push) {
        isPush = push;
    }
}
